package com.todod.entity;

import java.time.LocalDateTime;
import java.util.Map;


public class Basefile {
	/**
     * 主键
     */
         
	public Long id;

        /**
     * 原始的名称
     */
        
	public String originalName;

        /**
     * 新名称
     */
         
	public String fileName;

        /**
     * 后缀
     */
         
	public String suffix;

        /**
     * 大小
     */
         
	public Long fileSize;

        /**
     * 绝对路径
     */
        
	public String abstractPath;

        /**
     * 相对路径
     */
         
	public String relativePath;

        /**
     * 关联表id
     */
        
	public Long linkId;

        /**
     * 附件类型（01原始文档）
     */
         
	public String linkName;

        /**
     * 排序
     */
         
	public Integer sortNum;

        /**
     * 文件类型（pdf,img，other）
     */
         
	public String fileType;

        /**
     * pdf附件转成图片后的预览路径
     */
         
	public String pdfYulanPath;

        /**
     * 备注
     */
         
	public String remarkNa;

        /**
     * 创建用户id
     */
         
	public Long createUserId;

        /**
     * 创建时间
     */
          
	public LocalDateTime createTime;

        /**
     * 修改用户名id
     */
	public Long modifyUserId;

        /**
     * 修改时间
     */

	public LocalDateTime modifyTime;

        /**
     * 抽取标志位
     */

	public String flag;


        /**
     * 抽取批次号
     */

	public String batch;

	public Map<String,Object> map;

	public Map<String, Object> getMap() {
		return map;
	}

	public void setMap(Map<String, Object> map) {
		this.map = map;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getOriginalName() {
		return originalName;
	}

	public void setOriginalName(String originalName) {
		this.originalName = originalName;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getSuffix() {
		return suffix;
	}

	public void setSuffix(String suffix) {
		this.suffix = suffix;
	}

	public Long getFileSize() {
		return fileSize;
	}

	public void setFileSize(Long fileSize) {
		this.fileSize = fileSize;
	}

	public String getAbstractPath() {
		return abstractPath;
	}

	public void setAbstractPath(String abstractPath) {
		this.abstractPath = abstractPath;
	}

	public String getRelativePath() {
		return relativePath;
	}

	public void setRelativePath(String relativePath) {
		this.relativePath = relativePath;
	}

	public Long getLinkId() {
		return linkId;
	}

	public void setLinkId(Long linkId) {
		this.linkId = linkId;
	}

	public String getLinkName() {
		return linkName;
	}

	public void setLinkName(String linkName) {
		this.linkName = linkName;
	}

	public Integer getSortNum() {
		return sortNum;
	}

	public void setSortNum(Integer sortNum) {
		this.sortNum = sortNum;
	}

	public String getFileType() {
		return fileType;
	}

	public void setFileType(String fileType) {
		this.fileType = fileType;
	}

	public String getPdfYulanPath() {
		return pdfYulanPath;
	}

	public void setPdfYulanPath(String pdfYulanPath) {
		this.pdfYulanPath = pdfYulanPath;
	}

	public String getRemarkNa() {
		return remarkNa;
	}

	public void setRemarkNa(String remarkNa) {
		this.remarkNa = remarkNa;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public LocalDateTime getCreateTime() {
		return createTime;
	}

	public void setCreateTime(LocalDateTime createTime) {
		this.createTime = createTime;
	}

	public Long getModifyUserId() {
		return modifyUserId;
	}

	public void setModifyUserId(Long modifyUserId) {
		this.modifyUserId = modifyUserId;
	}

	public LocalDateTime getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(LocalDateTime modifyTime) {
		this.modifyTime = modifyTime;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getBatch() {
		return batch;
	}

	public void setBatch(String batch) {
		this.batch = batch;
	}

	@Override
	public String toString() {
		return "Basefile{" +
				"id=" + id +
				", originalName='" + originalName + '\'' +
				", fileName='" + fileName + '\'' +
				", suffix='" + suffix + '\'' +
				", fileSize=" + fileSize +
				", abstractPath='" + abstractPath + '\'' +
				", relativePath='" + relativePath + '\'' +
				", linkId=" + linkId +
				", linkName='" + linkName + '\'' +
				", sortNum=" + sortNum +
				", fileType='" + fileType + '\'' +
				", pdfYulanPath='" + pdfYulanPath + '\'' +
				", remarkNa='" + remarkNa + '\'' +
				", createUserId=" + createUserId +
				", createTime=" + createTime +
				", modifyUserId=" + modifyUserId +
				", modifyTime=" + modifyTime +
				", flag='" + flag + '\'' +
				", batch='" + batch + '\'' +
				'}';
	}
}
